package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemDepartment;

public interface ITSystemDepartmentDao {
	
	/**
	 * 保存部门
	 * @param transientInstance
	 */
	public abstract void save(TSystemDepartment transientInstance);
	/**
	 * 删除部门
	 * @param transientInstance
	 */
	public abstract void delete(TSystemDepartment persistentInstance);
	/**
	 * 根据ID查找
	 * @param transientInstance
	 */
	public abstract TSystemDepartment findById(java.lang.String id);
	/**
	 * 根据实例查找
	 * @param transientInstance
	 */
	public abstract List findByExample(TSystemDepartment instance);
	/**
	 * 根据属性查找
	 * @param transientInstance
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查找所有的部门
	 * @param transientInstance
	 */
	public abstract List findAll();

	public abstract TSystemDepartment merge(TSystemDepartment detachedInstance);

	public abstract void attachDirty(TSystemDepartment instance);

	public abstract void attachClean(TSystemDepartment instance);

}